package com.liuyutao.Student.mapper;

import com.liuyutao.Student.pojo.Student;

import java.util.List;

public interface StudentMapper {
    Student findStudentById(Integer id);
    List<Student> findStudentByName(String name);
    Student findStudentByNameAndAddress(String name,String address);
    void deleteStudentById(Integer id);
    void addStudent(Student student);
    void updateStudent(Student student,Integer id);

}
